package cn.jiangjiesheng.bootstrap.integration.audit.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * 记录请求的情况
 * Auditing 审计
 */
@Target({ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
public @interface RequestAuditing {
    boolean enable() default true;

    /**
     * 标签
     * @return
     */
    String tag() default "";
}
